import Vue from "vue";
import { Button, Form, Select, Input, Menu, Switch, Icon, Breadcrumb,
Layout, Radio } from 'ant-design-vue';
import VueRouter from "vue-router";
import routers from './router';
import App from "./App.vue";

Vue.use(Button)
Vue.use(Form)
Vue.use(Form.Item)
Vue.use(Select)
Vue.use(Select.Option)
Vue.use(Input)
Vue.use(Menu)
Vue.use(Menu.Item)
Vue.use(Menu.SubMenu)
Vue.use(Switch)
Vue.use(Icon)
Vue.use(VueRouter)
Vue.use(Breadcrumb)
Vue.use(Layout)
Vue.use(Radio)

const router = new VueRouter ({
  model: 'history',
  routes: routers
})

Vue.config.productionTip = false;

new Vue({
  render: (h) => h(App),
  router
}).$mount("#app");
